package com.qujia.fleet.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

@ApiModel
public class FleetCardVo {

    @ApiModelProperty(value = "id", position = 1)
    private Long id;

    @ApiModelProperty(value = "车队名称", position = 3)
    private String fleetName;

    @ApiModelProperty(value = "第三方机构名称", position = 3)
    private String thirdOrganName;

    @ApiModelProperty(value = "卡号", position = 4)
    private String cardNumber;

    @ApiModelProperty(value = "联系人", position = 5)
    private String contacts;

    @ApiModelProperty(value = "手机号", position = 6)
    private String phone;

    @ApiModelProperty(value = "核销方式：1.司机自动出示核销码 2.第三方核销机构", position = 7)
    private Integer useType;

    @ApiModelProperty(value = "余额", position = 8)
    private BigDecimal balance;

    @ApiModelProperty(value = "充值金额", position = 8)
    private BigDecimal rechargeAmount;

    @ApiModelProperty(value = "赠送金额", position = 8)
    private BigDecimal giftAmount;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开通时间", position = 9)
    private Date createdTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间", position = 10)
    private Date updatedTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFleetName() {
        return fleetName;
    }

    public void setFleetName(String fleetName) {
        this.fleetName = fleetName;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getUseType() {
        return useType;
    }

    public void setUseType(Integer useType) {
        this.useType = useType;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public BigDecimal getRechargeAmount() {
        return rechargeAmount;
    }

    public void setRechargeAmount(BigDecimal rechargeAmount) {
        this.rechargeAmount = rechargeAmount;
    }

    public BigDecimal getGiftAmount() {
        return giftAmount;
    }

    public void setGiftAmount(BigDecimal giftAmount) {
        this.giftAmount = giftAmount;
    }

    public String getThirdOrganName() {
        return thirdOrganName;
    }

    public void setThirdOrganName(String thirdOrganName) {
        this.thirdOrganName = thirdOrganName;
    }
}
